<?php
include("checa_login.php");
include("header.php");

if (isset($_GET['home'])) {
    $HOME = $_GET['home'];
}
?>
<body>
    <?php
    if (isset($HOME)) {
        switch ($HOME) {
            case 'true':
                include('default.php');
                break;
        }
    } else {
        header("Location: index.php");
    }
    ?>
</body>
</html>

